import { defineStore } from 'pinia';

export const useCommonStore = defineStore('common', {
  state: () => {
    return {
      loadingCount: 0,
    };
  },
  actions: {
    update: (key, value) => {
      this[key] = value;
    },
  },
  persist: false,
});
